package icraf.carbon.gui;

import java.util.EventObject;

import icraf.carbon.core.Project;
import icraf.common.gui.MenuAdapter;

public class ProjectPanelEvent extends EventObject {

	private static final long serialVersionUID = -264771464498149789L;
	Object childObject;
	Project project;
	MenuAdapter properties;

	public ProjectPanelEvent(Object source, Project project,
			MenuAdapter properties, Object childObject) {
		super(source);
		this.project = project;
		this.properties = properties;
		this.childObject = childObject;
	}

	/**
	 * @return the child
	 */
	public Object getChildObject() {
		return childObject;
	}

	/**
	 * @return the project
	 */
	public Project getProject() {
		return project;
	}

	/**
	 * @return the properties
	 */
	public MenuAdapter getProperties() {
		return properties;
	}

}
